package cs.lqs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    /**
     * 去到后台首页
     *
     * @return
     */
    @RequestMapping("main-index")
    public String toIndex() {
        return "main-index";
    }

    @RequestMapping("index.action")
    public String toIndex2() {
        return "index";
    }

    @RequestMapping("logout.action")
    public String toLogin() {
        return "login";
    }

    @RequestMapping("student-list.action")
    public String toStudent() {
        return "student";
    }


}




























